#ifndef TPLEXPRESSIONPARSER_H
#define TPLEXPRESSIONPARSER_H

#include "tplparser.h"

class TplExpressionParser : public TplParser {
public:
    TplExpressionParser(QObject* parent);
    ~TplExpressionParser();
    virtual QVariant parse(QIODevice *inputSource, bool* failed = 0);

    void setContext(QMap<QString, QVariant> *context);
protected:
    QMap<QString, QVariant> *context;
};

#endif // TPLEXPRESSIONPARSER_H
